﻿using log4net;
using log4net.Config;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApplication.App_Start
{
    public class LoggerConfig
    {
        private static readonly ILog _logger;

        public static ILog Logger
        {
            get
            {
                return _logger;
            }
        }

        static LoggerConfig()
        {
            _logger = LogManager.GetLogger("EasierMVC");
            XmlConfigurator.Configure();
        }
    }
}